#include <conio.h>
main()
{
    int i,j;
    char buf[100*100*2];
    textmode(C80);
    textbackground(BLUE);
    textcolor(RED);
    clrscr();
    window(1,1,400,500);
    for(i=1,j=1;i<100;i+=10,j+=10)
    {
        gotoxy(i,j);
        cprintf("x");
    }
    getch();
    gettext(1,1,100,100,buf);
    puttext(1,100,100,200,buf);
    getch();
    gotoxy(250,250);
    printf("done!\n");
    getch();
    return 0;
}
